<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="s" %>
<%@ page contentType="text/html; charset=iso-8859-1" language="java" %>
<html>
<head>
	<meta charset="utf-8">
	<title>Login Home</title>
<script> 
		function Affiche1() {
			alert('Texte 1');
		} 
		function envoi_form(){ 
			alert(action);
			var action = '';
			if(document.getElementById('espace_client').checked) {
			  //Redirection vers page index client}
				action = 'espaceClient/index';
			}else if(document.getElementById('espace_intervenant').checked) {
			  //Redirection vers page index intervenat
				action = 'espaceIntervenant/index';
			}else (document.getElementById('espace_manager').checked) {
			  //Redirection vers page index manager
				action = 'espaceManager/index'; 
			}
			alert(action);
			document.formulaire.action = action; 
			document.formulaire.submit(); 
		}
		 
</script>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes"> 
    
    <link href="<c:url value="/resources/assets/bootstrap/css/bootstrap.min.css" />" rel="stylesheet" type="text/css" />
	<link href="<c:url value="/resources/assets/css/styles.css" />" rel="stylesheet" type="text/css" />

</head>
<body >
	<a href="#" ondblclick="Affiche1();" onClick="Affiche1();">Texte1</a>
	<div class="header">
	     <div class="container">
	        <div class="row">
	           <div class="col-md-5">
	              <!-- Logo -->
	              <div class="logo">
	                 <h1><a href="index.html">Page d'accueil HDSK</a></h1>
	              </div>
	           </div>
	           <div class="col-md-5">
	              <div class="row">
	                <div class="col-lg-12">
	                  <div class="input-group form">
	                       <input type="text" class="form-control" placeholder="Search...">
	                       <span class="input-group-btn">
	                         <button class="btn btn-primary" type="button">Search</button>
	                       </span>
	                  </div>
	                </div>
	              </div>
	           </div>
	           <div class="col-md-2">
	              <div class="navbar navbar-inverse" role="banner">
	                  <nav class="collapse navbar-collapse bs-navbar-collapse navbar-right" role="navigation">
	                    <ul class="nav navbar-nav">
	                      <li class="dropdown">
	                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Mon Compte <b class="caret"></b></a>
	                        <ul class="dropdown-menu animated fadeInUp">
	                          <li><a href="profile.html">Se connecter</a></li>
	                          <li><a href="login.html">Logout</a></li>
	                        </ul>
	                      </li>
	                    </ul>
	                  </nav>
	              </div>
	           </div>
	        </div>
	     </div>
	</div>
	<div class="row">
		  		<div class="col-md-12 panel-warning">
		  			<div class="content-box-header panel-heading">
	  					<div class="panel-title ">Home Page</div>
						
						<div class="panel-options">
							<a href="#" data-rel="collapse"><i class="glyphicon glyphicon-refresh"></i></a>
							<a href="#" data-rel="reload"><i class="glyphicon glyphicon-cog"></i></a>
						</div>
		  			</div>
		  			<div class="content-box-large box-with-header">
			  			Cette application consiste a gere les le process d'escalade au niveau du HDSK<br>
			  			Cette application consiste a gere les le process d'escalade au niveau du HDSK<br>
			  			Cette application consiste a gere les le process d'escalade au niveau du HDSK<br>
			  			
			  			<form action="" style="text-align: center;" name="formulaire" >
							<table>
							<tr><td>Login Name :</td><td><input type="text" name="login" /></td></tr>
							<tr><td>Login Pass :</td><td><input type="password" name="pwd" style="width: 157px; "/></td></tr>
							<tr>
								<td><input type="radio" name="grp1" value="client" id="espace_client" checked /> Client</td>
								<td><input type="radio" name="grp1" value="intervenant" id="espace_intervenant" /> Intervenant</td>
								<td><input type="radio" name="grp1" value="manager" id="espace_manager" /> Manager</td>
							</tr>
							<tr align="center"><td colspan="2" align="right"><input type="button" name="envoi" value="Envoyer" onClick="envoi_form();" /></td></tr>
<!-- 							<input type="submit" value="Login" style="width: 77px; "/> espaceIntervenant/index -->
						</table>
					</form>
					</div>
		  		</div>
		  	</div>

</body>
</html>